package com.chensf.studydemo.guide.animation

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.chensf.studydemo.R

class GridToPager : AppCompatActivity(){
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_grid_to_pager)
        val bt = supportFragmentManager.beginTransaction()
        bt.replace(R.id.fragmentContainer,GridFragment.newInstance(),GridFragment::class.java.simpleName)
        bt.commit()
    }
}